projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27048d
)
(x_get_local_selection): Use signal_error.
author
Kim F. Storm
<storm@cua.dk>
Tue, 18 Jul 2006 13:28:39 +0000
(13:28 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Tue, 18 Jul 2006 13:28:39 +0000
(13:28 +0000)
src/macselect.c
patch
|
blob
|
history
diff --git
a/src/macselect.c
b/src/macselect.c
index 3afea1e981370bb533396c23c4719fc3f82d1686..67a28cf9e6467dce6df60a025084b0f842fa8284 100644
(file)
--- a/
src/macselect.c
+++ b/
src/macselect.c
@@
-594,11
+594,9
@@
x_get_local_selection (selection_symbol, target_type, local_request)
&& INTEGERP (XCAR (XCDR (check)))
&& NILP (XCDR (XCDR (check))))))
return value;
- else
- return
- Fsignal (Qerror,
- Fcons (build_string ("invalid data returned by selection-conversion function"),
- Fcons (handler_fn, Fcons (value, Qnil))));
+
+ signal_error ("Invalid data returned by selection-conversion function",
+ list2 (handler_fn, value));
}
\f